package top.kuxiao.crmserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户经理
 * </p>
 *
 * @author kuxiao
 * @since 2022-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AccountManager implements Serializable,IUser {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "am_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    @TableField(value = "am_name")
    private String name;

    /**
     * 密码
     */
    @TableField(value = "am_password")
    private String password;

    /**
     * 真实姓名
     */
    @TableField(value = "am_realname")
    private String realname;

    /**
     * 手机号码
     */
    @TableField(value = "am_phone")
    private Long phone;


}
